package com.ktg.mes.wm.service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ktg.common.core.domain.Result;
import com.ktg.mes.pro.domain.ProItemNeed;
import com.ktg.mes.util.LService;;
import com.ktg.mes.wm.domain.WmQuantityRecord;
import com.ktg.mes.wm.domain.WmStockWillOut;
import com.ktg.mes.wm.domain.WmStockWillSelectParam;

/**
 * 产品出库记录Service接口
 *
 * @author byteco
 * @date 2022-12-15
 */
public interface IWmQuantityRecordService extends LService<WmQuantityRecord>
{


    /**
     * 数量关联查询，allAuantity 为条件 数量总和
     * @param record
     * @return
     */
    public List<WmQuantityRecord> findSumCount(WmQuantityRecord record);



    /**
     * 插入或者更新数量
     * @param record
     * @return
     */
    public WmQuantityRecord insertOrUpdate(WmQuantityRecord record);

}
